﻿//#define THREADING
//#define GETCALLGRAPH

using Analyzer.ViewModel;

namespace ReportBrowser.ViewModel
{
    internal abstract class LanguageElementViewModelBase : ViewModelBase
    {
        #region Fields

        protected static readonly bool sThreading
#if THREADING
            =true
#endif
;
        protected static readonly bool sGetCallGraph
#if GETCALLGRAPH
            =true
#endif
;

        #endregion

        #region Lifecycle

        protected LanguageElementViewModelBase(bool isTruncatedAsCaller, bool isTruncatedAsCallee)
        {
            this.IsTruncatedAsCaller = isTruncatedAsCaller;
            this.IsTruncatedAsCallee = isTruncatedAsCallee;
        }

        #endregion

        public bool IsTruncatedAsCaller { get; private set; }

        public bool IsTruncatedAsCallee { get; private set; }
    }
}
